package com.phoenix.mapper;

import com.phoenix.entity.Users;
import org.apache.ibatis.annotations.Mapper;

//传统Mybatis
@Mapper
public interface UserMapper {
    Users getUserByUsername(String username);

    Boolean addUser(Users user);

    Boolean editUser(Users user);

    Users getUserByID(String userID);

    Boolean updateUser(Users user);
}
